package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 分销会员升级推荐数
 * </p>
 *
 * @author chenxuebin
 * @since 2019-02-27
 */
@TableName("t_fenxiao_tui")
public class FenxiaoTui extends Model<FenxiaoTui> {

    private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
    /**
     * 会员级别
     */
	private Integer mlevel;
    /**
     * 一级推荐数
     */
	private Integer tui1;
    /**
     * 二级推荐数
     */
	private Integer tui2;
    /**
     * 三级推荐数
     */
	private Integer tui3;
    /**
     * 四级推荐数
     */
	private Integer tui4;
    /**
     * 五级推荐数
     */
	private Integer tui5;
    /**
     * 六级推荐数
     */
	private Integer tui6;
    /**
     * 七级推荐数
     */
	private Integer tui7;
	private Long uid;
	private Long mid;
	private Long mpid;
	private Date createtime;
	private Long modifier;
	private Date modifytime;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Integer getMlevel() {
		return mlevel;
	}

	public void setMlevel(Integer mlevel) {
		this.mlevel = mlevel;
	}

	public Integer getTui1() {
		return tui1;
	}

	public void setTui1(Integer tui1) {
		this.tui1 = tui1;
	}

	public Integer getTui2() {
		return tui2;
	}

	public void setTui2(Integer tui2) {
		this.tui2 = tui2;
	}

	public Integer getTui3() {
		return tui3;
	}

	public void setTui3(Integer tui3) {
		this.tui3 = tui3;
	}

	public Integer getTui4() {
		return tui4;
	}

	public void setTui4(Integer tui4) {
		this.tui4 = tui4;
	}

	public Integer getTui5() {
		return tui5;
	}

	public void setTui5(Integer tui5) {
		this.tui5 = tui5;
	}

	public Integer getTui6() {
		return tui6;
	}

	public void setTui6(Integer tui6) {
		this.tui6 = tui6;
	}

	public Integer getTui7() {
		return tui7;
	}

	public void setTui7(Integer tui7) {
		this.tui7 = tui7;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Long getModifier() {
		return modifier;
	}

	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "FenxiaoTui{" +
			"id=" + id +
			", mlevel=" + mlevel +
			", tui1=" + tui1 +
			", tui2=" + tui2 +
			", tui3=" + tui3 +
			", tui4=" + tui4 +
			", tui5=" + tui5 +
			", tui6=" + tui6 +
			", tui7=" + tui7 +
			", uid=" + uid +
			", mid=" + mid +
			", mpid=" + mpid +
			", createtime=" + createtime +
			", modifier=" + modifier +
			", modifytime=" + modifytime +
			"}";
	}
}
